<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<title>我的古友</title>
	<% include  ../template/commonCss.ejs %>
	<link href="<%=resUrl%>/css/shop/followUser.css" rel="stylesheet" type="text/css" />
	<% include ../template/commonJs.ejs %>
	<% include ../template/chatLister.ejs %>
	<script>
		var shopId= '<%-shopId%>';
	</script>
</head>

<body ontouchstart style="background-color:#ffffff">
	<% var topTitle = '我的古友';var topReturnType = '' %>
	<% include ../template/topReturn.ejs %>
	<div class="weui-tab" >
		<div class="tabs" <%if(locals.token && token != ''){%>style="top:0;"<%}%> >
			<a class="item last current" href="javascript:" data-state="1">
				我的粉丝
				<div class="v-line"></div>
			</a>
			<a class="item last" href="javascript:" data-state="2">
				黑名单
				<div class="v-line"></div>
			</a>
		</div>
		<div id="aroundBox" >
			<div class="weui-pull-to-refresh__layer" style="padding: 5px;">
				<div class="weui-pull-to-refresh__arrow"></div>
				<div class="weui-pull-to-refresh__preloader"></div>
				<div class="down">下拉刷新</div>
				<div class="up">释放刷新</div>
				<div class="refresh">正在刷新</div>
			</div>
			<div class="weipai-list" id="contentTo">
					<div class="weui-cells" id="detail-content">
							
					</div>	
			</div>						
			<div class="weui-loadmore" id="loadmore">
				<i class="weui-loading"></i>
				<span class="weui-loadmore__tips">正在加载</span>
			</div>
			<div class="weui-loadmore weui-loadmore_line" style="display:none;" id="nomore">
				<span class="weui-loadmore__tips">到底了</span>
			</div>
		</div>
	</div>
	<script id="content" type="text/html">
		{{each list}}
		<div class="weui-cell" >
			<div class="weui-cell__hd"><img style="width:1rem" src="{{$value.photo}}?x-oss-process=image/resize,w_400,h_400"></div>
			<div class="weui-cell__bd" >
					<div>{{$value.name}}</div>
					<div style="color:#666666;margin-top:0.1rem" >{{$value.customSignature || '暂无签名'}} </div>
			</div>
			
			
			<div class="weui-cell__ft" style="color:#0F9BD6">
				{{if $value.isBlack != 1}}
				<span onclick="addBlack('{{$value.id}}');">
					加入黑名单
				</span>
				{{/if}}
				&nbsp;&nbsp;
				<span onclick="charToUser('{{$value.id}}');">
					私信
				</span>
			</div>
			
			
		</div>

		{{/each}}
	</script>	
	<script id="blackContent" type="text/html">
		{{each list}}
		<div class="weui-cell" >
			<div class="weui-cell__hd"><img style="width:1rem" src="{{$value.blacklistUserDetail.photo}}?x-oss-process=image/resize,w_400,h_400"></div>
			<div class="weui-cell__bd" >
					<div>{{$value.blacklistUserDetail.name}}</div>
					<div style="color:#666666;margin-top:0.1rem" >{{$value.blacklistUserDetail.customSignature || '暂无签名'}} </div>
			</div>
			<div class="weui-cell__ft" style="color:#0F9BD6" onclick="canalBlack('{{$value.id}}');">取消黑名单</div>
		</div>
		{{/each}}
	</script>
		
		

	
	<script type="text/javascript" src="<%=resUrl%>/js/shop/followUser.js"></script>
</body>

</html>